make_page_readonly() must flush unused kmaps when handling
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 18 Nov 2005 16:50:25 +0000 (17:50 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 18 Nov 2005 16:50:25 +0000 (17:50 +0100)
commit931a2bf97fa446879e3df8d8cd679a3d652ee707
treea839390c1e7cd636fd9e05449644125b1e48294d
parentcde43db53a333890c4bad387876df15f45faeeba
make_page_readonly() must flush unused kmaps when handling
a high-memory page. Otherwise stale writable mappings may
persist. This fixes a corner case for alloc_ldt (which can
vmalloc an LDT and hence use highmem pages).

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/mm/pgtable.c